package com.brillilab.dao.mapper.plans;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brillilab.domain.po.plans.Plan;
import com.brillilab.domain.vo.plans.PlanVo;

/**
 * <p>
 * 计划实验表 Mapper 接口
 * </p>
 *
 * @author zlb
 * @since 2019-09-05
 */
public interface PlanMapper extends BaseMapper<Plan> {

	List<Plan> getNewPlanList(@Param("targetGroupId") Long targetGroupId);

	List<PlanVo> getPlanVoList(@Param("labMemberId") Long labMemberId, @Param("startDate")String startDate, @Param("endDate")String endDate);

	Integer getNoCompleteNum(@Param("topicTargetId") Long topicTargetId);
	
	Integer getMeNoCompleteNum(@Param("topicTargetId") Long topicTargetId, @Param("labMemberId") Long labMemberId);

	List<Plan> getTodayPlanNoCompleteList(@Param("labMemberId") Long labMemberId);
	
	List<Plan> getPlanListByPlanTime(@Param("labMemberId") Long labMemberId, @Param("planTime") String planTime);

}
